inspector: Avoid an array overrun
authorMatthias Clasen <mclasen@redhat.com>
Sat, 18 Jan 2020 15:51:54 +0000 (10:51 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 18 Jan 2020 16:49:16 +0000 (11:49 -0500)
commit92cfc0382197cced245a8461191f87b9d9e2fb80
tree35e468b417de1598867433e499f97a316f0c8474
parent46bb1a9b6af0d3da291cfd462ba9a5fc48469acf
inspector: Avoid an array overrun

Commit 3f56af373891bf6e3 added a new value to the
GdkInputSource enum, forgetting that the inspector
has an array of names to match this enum.

Fixes: https://gitlab.gnome.org/GNOME/gtk/issues/2385
gtk/inspector/general.c